package de.jmda.mproc.swingui;

import java.io.File;

import javax.swing.JFileChooser;

import de.jmda.util.gui.swing.ChangeDirectoryListener;

public class ChangeDirectoryListeningFileChooser
    extends JFileChooser implements ChangeDirectoryListener
{
	public ChangeDirectoryListeningFileChooser(File directory)
	{
		super(directory);
	}
	
	@Override
	public void changeDirectory(File directory)
	{
		setCurrentDirectory(directory);
	}
}